Skip to content

jh: add long-input regression tests#894

Merged
newpavlov merged 1 commit into
RustCrypto:masterfrom
blackflytech:master
Jul 10, 2026
Merged

jh: add long-input regression tests#894
newpavlov merged 1 commit into
RustCrypto:masterfrom
blackflytech:master

Conversation

@blackflytech

Copy link
Copy Markdown
Contributor

Summary

Add 16 MiB pseudo-random input regression tests for the JH hash variants:

  • Jh224
  • Jh256
  • Jh384
  • Jh512

These tests follow the existing pattern used by other hash crates in this repository with digest::dev::feed_rand_16mib. This improves coverage for long-input hashing without changing implementation behavior.

Testing

  • cargo test --manifest-path jh/Cargo.toml --locked
  • cargo fmt --manifest-path jh/Cargo.toml -- --check
  • git diff --check

Signed-off-by: blackflytech <blackflytech@outlook.com>
@newpavlov
newpavlov merged commit 7c32a0d into RustCrypto:master Jul 10, 2026
11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants